package org.study.r2dbc.boot.service;

import org.study.r2dbc.boot.model.User;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * 作用描述
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2025年04月02日
 */
public interface UserServiceByEntityTemplate {
    Flux<User> findActiveUsers();

    Flux<User> findUsers(String name, Boolean active);

    Mono<User> saveUser1(User user);

    Mono<User> saveUser2(User user);

    Mono<User> saveUser3(User user);
}
